local lPlayer = FindMetaTable("Player")

function lPlayer:GetMoney()
	return self:GetNetworkedVar("PLAYER_MONEY")
end

function lPlayer:GiveMoney(amount)
	datastream.StreamToServer( "GIVE_MONEY", { self:GetID(), amount } )
end

function lPlayer:TakeMoney(amount)
	datastream.StreamToServer( "TAKE_MONEY", { self:GetID(), amount } )
end
